Version

CustomCalculationFunction Constructor(String,Func<Double,Double,Double>)

Constructor.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal function As Func(Of Double,Double,Double) _
)
public CustomCalculationFunction( 
   string name,
   Func<double,double,double> function
)

Parameters

name
Function name that will be used in the formulas to reference this function.
function
Provides the calculation logic. The function takes a two double parameters and returns the result as a double.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also